package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class CurrentField extends AbstractMethod {
    private static final String name = "currentField";
    /**
    CurrentField is the name of a field into which the current replica count will be set as an int. If empty no field will be set. Useful for computing deltas on the current state.
    **/
    /**
    CurrentField是将当前副本计数设置为int的字段名称。如果为空，则不会设置任何字段。用于计算当前状态的增量。
    **/
    public CurrentField(String ec2Autoscale) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new SingleQuotesArg(ec2Autoscale));


    }
}
